<?php
/**
 * Created by PhpStorm.
 * User: Inhere
 * Date: 14-5-10
 * Time: 下午5:12
 * File: DesController.php
 */

namespace builder\controllers;

use builder\parts;


class DesController extends parts\BaseController
{
    public $pageTitle = 'code builder - ';

    public function init()
    {
        parent::init();

        $this->pageTitle .= 'welcome!';
    }

    public function indexAction()
    {
        // p($_SERVER, $this->getViewVars());

        return $this->display();
    }

    public function login()
    {
        $this->showPartial();
    }

}